import { NestFactory } from '@nestjs/core';
import { ChargeOrderMsgModule } from './charge-order-msg.module';
import { ChargeOrderMsgService } from './charge-order-msg.service';

async function bootstrap() {
  const app = await NestFactory.createApplicationContext(ChargeOrderMsgModule);
  const service = app.get(ChargeOrderMsgService)
  service.start()
  console.log('charge order msg start')
}
bootstrap();
